package com.itheima.health.resource.aliyunoss;

import com.itheima.health.resource.upload.UploadUtils;

public class Demo {

    public static void main(String[] args) {
        String filename ="C:\\Users\\tps52\\Desktop\\a.jpg";
        String uuidfilename = UploadUtils.generateRandonFileName("a.jpg");
//        AliyunUtils.uploadLocalDiskFileToAliyun(filename,uuidfilename);
        AliyunUtils.uploadLocalDiskFileToAliyun(filename,"109/"+uuidfilename);
    }
}
